package com.ruoyi.schoolSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生管理对象 student
 * 
 * @author ruoyi
 * @date 2024-02-19
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "")
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private Long stuNo;

    /** 学生名字 */
    @Excel(name = "学生名字")
    private String stuName;

    /** 班级 */
    @Excel(name = "班级")
    private Long classId;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 家长 */
    @Excel(name = "家长")
    private Long patriarchId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStuNo(Long stuNo) 
    {
        this.stuNo = stuNo;
    }

    public Long getStuNo() 
    {
        return stuNo;
    }
    public void setStuName(String stuName) 
    {
        this.stuName = stuName;
    }

    public String getStuName() 
    {
        return stuName;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setPatriarchId(Long patriarchId) 
    {
        this.patriarchId = patriarchId;
    }

    public Long getPatriarchId() 
    {
        return patriarchId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stuNo", getStuNo())
            .append("stuName", getStuName())
            .append("classId", getClassId())
            .append("gender", getGender())
            .append("age", getAge())
            .append("patriarchId", getPatriarchId())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
